package com.alinesno.cloud.common.web.basic.auth.bean;

import java.util.List;

import com.alinesno.cloud.common.facade.orm.entity.BaseEntity;

public class ManagerResourceBean extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 资源名称
	 */
	private String resourceName;
	/**
	 * 资源链接
	 */
	private String resourceLink;
	/**
	 * 资源图标
	 */
	private String resourceIcon;
	/**
	 * 资源父类
	 */
	private String resourceParent = "0" ;
	/**
	 * 资源排序
	 */
	private Integer resourceOrder;

	/**
	 * 菜单类型(0菜单|1小标题|9平台标题)
	 */
	private String menuType = "0" ; //MenuEnums.MENU_ITEM.value ;

	/**
	 * 链接打开方式 
	 */
	private String openTarget ; 

	/**
	 * 权限标识
	 */
	private String permission ; 

	/**
	 * 权限脚本
	 */
	private String permissionScript ; 

	/**
	 * 菜单子类
	 */
	private List<ManagerResourceBean> subResource ; 

	public String getOpenTarget() {
		return openTarget;
	}

	public void setOpenTarget(String openTarget) {
		this.openTarget = openTarget;
	}

	public String getPermissionScript() {
		return permissionScript;
	}

	public void setPermissionScript(String permissionScript) {
		this.permissionScript = permissionScript;
	}

	public String getPermission() {
		return permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}

	public ManagerResourceBean() {
		super();
	}

	
	public List<ManagerResourceBean> getSubResource() {
		return subResource;
	}

	public void setSubResource(List<ManagerResourceBean> subResource) {
		this.subResource = subResource;
	}

	public String getMenuType() {
		return menuType;
	}

	public void setMenuType(String menuType) {
		this.menuType = menuType;
	}

	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public String getResourceLink() {
		return resourceLink;
	}

	public void setResourceLink(String resourceLink) {
		this.resourceLink = resourceLink;
	}

	public String getResourceIcon() {
		return resourceIcon;
	}

	public void setResourceIcon(String resourceIcon) {
		this.resourceIcon = resourceIcon;
	}

	public String getResourceParent() {
		return resourceParent;
	}

	public void setResourceParent(String resourceParent) {
		this.resourceParent = resourceParent;
	}

	public Integer getResourceOrder() {
		return resourceOrder;
	}

	public void setResourceOrder(Integer resourceOrder) {
		this.resourceOrder = resourceOrder;
	}

	
}
